package org.apache.dubbo.demo.consumer.comp;

import org.apache.dubbo.config.annotation.Reference;
import org.apache.dubbo.demo.StubService;
import org.springframework.stereotype.Component;

/**
 * @author duyutian
 * @version 1.0
 * @date 2020/8/19 19:04
 */
@Component("stubComponent")
public class StubComponent {

    @Reference
    private StubService stubService;

    public void d1() {
        stubService.helloStub();
    }
}
